package com.xxxt.utils;

import java.util.Random;
/**
 * 
 * @author huangrusiehng
 *
 */
public class CheckcodeUtil {
	public static String getCheckCode() {
		String ZiMu = "1234567890123456789012345678901234567890";
		String result = "";
		Random random = new Random();
		for (int i = 0; i < 5; i++) {
			int index = random.nextInt(ZiMu.length());
			char c = ZiMu.charAt(index);
			result += c;
		}
		return result;
		}
	
}
